package com.esunrising.esungsc.entity;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.math.BigDecimal;


@ApiModel(description = "科目字典")
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name = "T_API_KM")
public class TApiKm extends BaseEntity{

  @Column(name = "CASHACCTITLE")
  private Double cashacctitle;

  @Column(name = "NAME_ES")
  private String nameEs;

  @Column(name = "TIMESTAMP_LASTCHANGEDON")
  private String timestampLastchangedon;

  @Column(name = "SRCTYPE")
  private Double srctype;

  @Column(name = "TIMESTAMP_CREATEDBY")
  private String timestampCreatedby;

  @Column(name = "TITLENAME")
  private String titlename;

  @Column(name = "TIMESTAMP_LASTCHANGEDBY")
  private String timestampLastchangedby;

  @Column(name = "AUTHFLAG")
  private String authflag;

  @Column(name = "CHARTOFACC")
  private String chartofacc;

  @Column(name = "FULLNAMEROLE")
  private Double fullnamerole;

  @Id
  @Column(name = "ID")
  private String id;

  @Column(name = "TIMESTAMP_CREATEDON")
  private String timestampCreatedon;

  @Column(name = "LEDGERCODE")
  private String ledgercode;

  @Column(name = "FIYEAR")
  private String fiyear;

  @Column(name = "EXTENDCHAR15")
  private String extendchar15;

  @Column(name = "EXTENDCHAR14")
  private String extendchar14;

  @Column(name = "EXTENDNUM03")
  private Double extendnum03;

  @Column(name = "LEDGERNAME")
  private String ledgername;

  @Column(name = "EXTENDCHAR13")
  private String extendchar13;

  @Column(name = "EXTENDNUM02")
  private Double extendnum02;

  @Column(name = "EXTENDCHAR12")
  private String extendchar12;

  @Column(name = "EXTENDNUM01")
  private Double extendnum01;

  @Column(name = "EXTENDCHAR11")
  private String extendchar11;

  @Column(name = "MNEMONICCODE")
  private String mnemoniccode;

  @Column(name = "TREEINFO_PATH")
  private String treeinfoPath;

  @Column(name = "ORGCODE")
  private String orgcode;

  @Column(name = "ISBANKBOOK")
  private String isbankbook;

  @Column(name = "NAME_EN")
  private String nameEn;

  @Column(name = "NAME_CHS")
  private String nameChs;

  @Column(name = "NAME_CHT")
  private String nameCht;

  @Column(name = "EXTENDCHAR10")
  private String extendchar10;

  @Column(name = "BALANCEDIR")
  private Double balancedir;

  @Column(name = "EXTENDNUM05")
  private Double extendnum05;

  @Column(name = "EXTENDNUM04")
  private Double extendnum04;

  @Column(name = "EXTENDCHAR07")
  private String extendchar07;

  @Column(name = "TREEINFO_ISDETAIL")
  private String treeinfoIsdetail;

  @Column(name = "EXTENDCHAR06")
  private String extendchar06;

  @Column(name = "EXTENDCHAR05")
  private String extendchar05;

  @Column(name = "EXTENDCHAR04")
  private String extendchar04;

  @Column(name = "EXTENDCHAR03")
  private String extendchar03;

  @Column(name = "ACCOUNTTYPE")
  private Double accounttype;

  @Column(name = "EXTENDCHAR02")
  private String extendchar02;

  @Column(name = "EXTENDCHAR01")
  private String extendchar01;

  @Column(name = "ORGNAME")
  private String orgname;

  @Column(name = "ISDISABLED")
  private String isdisabled;

  @Column(name = "FULLNAME_PT")
  private String fullnamePt;
  @Column(name = "EXTENDCHAR09")
  private String extendchar09;
  @Column(name = "EXTENDCHAR08")
  private String extendchar08;
  @Column(name = "AUTHLAYER")
  private Double authlayer;
  @Column(name = "ISALLOWLEDGERCHILDADD")
  private String isallowledgerchildadd;
  @Column(name = "NAME_PT")
  private String namePt;
  @Column(name = "ACCORGID")
  private String accorgid;
  @Column(name = "ACCTITLEPROP")
  private String acctitleprop;
  @Column(name = "REMARK")
  private String remark;
  @Column(name = "ISJOURNALENTRY")
  private String isjournalentry;
  @Column(name = "FULLNAME_CHT")
  private String fullnameCht;
  @Column(name = "FULLNAME_CHS")
  private String fullnameChs;
  @Column(name = "ISOUTSTATEMENT")
  private String isoutstatement;
  @Column(name = "SRCID")
  private String srcid;
  @Column(name = "TREEINFO_LAYER")
  private Double treeinfoLayer;
  @Column(name = "FULLNAME_EN")
  private String fullnameEn;
  @Column(name = "CODE")
  private String code;
  @Column(name = "PARENTID")
  private String parentid;
  @Column(name = "TITLECODE")
  private String titlecode;
  @Column(name = "LEDGER")
  private String ledger;
  @Column(name = "FULLNAME_ES")
  private String fullnameEs;
  @Column(name = "TYPEFLAG")
  private Double typeflag;


}
